package com.zzu.team.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 参加测试的用户(Tester)表实体类
 *
 * @author makejava
 * @since 2021-11-27 20:11:32
 */
@SuppressWarnings("serial")
@TableName("tbl_character_tester")
public class Tester extends Model<Tester> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "testPhone")
    private String testphone;
    @TableField(value = "testName")
    private String testname;
    //测试时间
    @TableField(value = "testTime")
    private Date testtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTestphone() {
        return testphone;
    }

    public void setTestphone(String testphone) {
        this.testphone = testphone;
    }

    public String getTestname() {
        return testname;
    }

    public void setTestname(String testname) {
        this.testname = testname;
    }

    public Date getTesttime() {
        return testtime;
    }

    public void setTesttime(Date testtime) {
        this.testtime = testtime;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
